#include <iostream>
#include "udp_socket.h"

using namespace std;

int main()
{
	UdpServer* us = new UdpServer("192.168.0.116",1234);
	
	while(true)
	{
		char buf[1024] = {};
		us->recv(buf,sizeof(buf));
		cout << "recv:" << buf << endl;
		us->send("return:udp haha");
	}
}
